package com.jtjrenren.android.taxi.passenger.bean.api;

import java.util.List;

/**
 * Created by Administrator on 2016/4/6.
 */
public class ApiHistoryItem {

    /**
     * code : 1
     * desc :
     * data : [{"ROWNUMS":1,"ID":"406000030","OrderAttritute":1,"PassengerPhoneNumber":"18520895326","StartAddr":"博恩","EndAddr":"世界之窗","BookingTime":null,"OrderCarNo":"粤123456","SeatNo":"","CreateDate":"2016-04-06T10:34:41.03","Status":3,"DriversID":"30c4fd7a-7903-42f4-988e-8f0eb6092470","OrderType":"1","CarType":"0","GetOnCarTime":"2016-04-06T10:35:11","PayMode":"1","Amount":10,"PayStatus":"0","CustomerPay":10,"UsedTime":106,"DriverName":"王道良","CarNum":"粤123456"},{"ROWNUMS":2,"ID":"406000028","OrderAttritute":1,"PassengerPhoneNumber":"18520895326","StartAddr":"博恩","EndAddr":"世界之窗","BookingTime":null,"OrderCarNo":"粤123456","SeatNo":"","CreateDate":"2016-04-06T10:32:33.15","Status":11,"DriversID":"30c4fd7a-7903-42f4-988e-8f0eb6092470","OrderType":"1","CarType":"0","GetOnCarTime":"2016-04-06T10:32:52","PayMode":"6","Amount":0,"PayStatus":"1","CustomerPay":0,"UsedTime":12,"DriverName":"王道良","CarNum":"粤123456"}]
     */

    private int code;
    private String desc;
    /**
     * ROWNUMS : 1
     * ID : 406000030
     * OrderAttritute : 1
     * PassengerPhoneNumber : 18520895326
     * StartAddr : 博恩
     * EndAddr : 世界之窗
     * BookingTime : null
     * OrderCarNo : 粤123456
     * SeatNo :
     * CreateDate : 2016-04-06T10:34:41.03
     * Status : 3
     * DriversID : 30c4fd7a-7903-42f4-988e-8f0eb6092470
     * OrderType : 1
     * CarType : 0
     * GetOnCarTime : 2016-04-06T10:35:11
     * PayMode : 1
     * Amount : 10
     * PayStatus : 0
     * CustomerPay : 10
     * UsedTime : 106
     * DriverName : 王道良
     * CarNum : 粤123456
     */

    private List<DataEntity> data;

    public void setCode(int code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        private int ROWNUMS;
        private String ID;
        private String OrderAttritute;
        private String PassengerPhoneNumber;
        private String StartAddr;
        private String EndAddr;
        private String BookingTime;
        private String OrderCarNo;
        private String SeatNo;
        private String CreateDate;
        private String Status;
        private String DriversID;
        private String OrderType;
        private String CarType;
        private String GetOnCarTime;
        private String PayMode;
        private String Amount;
        private String PayStatus;
        private String CustomerPay;
        private String UsedTime;
        private String DriverName;
        private String CarNum;
        private String ContactMobile;
        private String ActualDistance;


        public String getActualDistance() {
            return ActualDistance;
        }

        public void setActualDistance(String actualDistance) {
            ActualDistance = actualDistance;
        }

        public String getContactMobile() {
            return ContactMobile;
        }

        public void setContactMobile(String contactMobile) {
            ContactMobile = contactMobile;
        }

        public void setROWNUMS(int ROWNUMS) {
            this.ROWNUMS = ROWNUMS;
        }

        public void setID(String ID) {
            this.ID = ID;
        }

        public void setOrderAttritute(String OrderAttritute) {
            this.OrderAttritute = OrderAttritute;
        }

        public void setPassengerPhoneNumber(String PassengerPhoneNumber) {
            this.PassengerPhoneNumber = PassengerPhoneNumber;
        }

        public void setStartAddr(String StartAddr) {
            this.StartAddr = StartAddr;
        }

        public void setEndAddr(String EndAddr) {
            this.EndAddr = EndAddr;
        }

        public void setBookingTime(String BookingTime) {
            this.BookingTime = BookingTime;
        }

        public void setOrderCarNo(String OrderCarNo) {
            this.OrderCarNo = OrderCarNo;
        }

        public void setSeatNo(String SeatNo) {
            this.SeatNo = SeatNo;
        }

        public void setCreateDate(String CreateDate) {
            this.CreateDate = CreateDate;
        }

        public void setStatus(String Status) {
            this.Status = Status;
        }

        public void setDriversID(String DriversID) {
            this.DriversID = DriversID;
        }

        public void setOrderType(String OrderType) {
            this.OrderType = OrderType;
        }

        public void setCarType(String CarType) {
            this.CarType = CarType;
        }

        public void setGetOnCarTime(String GetOnCarTime) {
            this.GetOnCarTime = GetOnCarTime;
        }

        public void setPayMode(String PayMode) {
            this.PayMode = PayMode;
        }

        public void setAmount(String Amount) {
            this.Amount = Amount;
        }

        public void setPayStatus(String PayStatus) {
            this.PayStatus = PayStatus;
        }

        public void setCustomerPay(String CustomerPay) {
            this.CustomerPay = CustomerPay;
        }

        public void setUsedTime(String UsedTime) {
            this.UsedTime = UsedTime;
        }

        public void setDriverName(String DriverName) {
            this.DriverName = DriverName;
        }

        public void setCarNum(String CarNum) {
            this.CarNum = CarNum;
        }

        public int getROWNUMS() {
            return ROWNUMS;
        }

        public String getID() {
            return ID;
        }

        public String getOrderAttritute() {
            return OrderAttritute;
        }

        public String getPassengerPhoneNumber() {
            return PassengerPhoneNumber;
        }

        public String getStartAddr() {
            return StartAddr;
        }

        public String getEndAddr() {
            return EndAddr;
        }

        public String getBookingTime() {
            return BookingTime;
        }

        public String getOrderCarNo() {
            return OrderCarNo;
        }

        public String getSeatNo() {
            return SeatNo;
        }

        public String getCreateDate() {
            return CreateDate;
        }

        public String getStatus() {
            return Status;
        }

        public String getDriversID() {
            return DriversID;
        }

        public String getOrderType() {
            return OrderType;
        }

        public String getCarType() {
            return CarType;
        }

        public String getGetOnCarTime() {
            return GetOnCarTime;
        }

        public String getPayMode() {
            return PayMode;
        }

        public String getAmount() {
            return Amount;
        }

        public String getPayStatus() {
            return PayStatus;
        }

        public String getCustomerPay() {
            return CustomerPay;
        }

        public String getUsedTime() {
            return UsedTime;
        }

        public String getDriverName() {
            return DriverName;
        }

        public String getCarNum() {
            return CarNum;
        }

        @Override
        public String toString() {
            return "DataEntity{" +
                    "ROWNUMS=" + ROWNUMS +
                    ", ID='" + ID + '\'' +
                    ", OrderAttritute='" + OrderAttritute + '\'' +
                    ", PassengerPhoneNumber='" + PassengerPhoneNumber + '\'' +
                    ", StartAddr='" + StartAddr + '\'' +
                    ", EndAddr='" + EndAddr + '\'' +
                    ", BookingTime='" + BookingTime + '\'' +
                    ", OrderCarNo='" + OrderCarNo + '\'' +
                    ", SeatNo='" + SeatNo + '\'' +
                    ", CreateDate='" + CreateDate + '\'' +
                    ", Status='" + Status + '\'' +
                    ", DriversID='" + DriversID + '\'' +
                    ", OrderType='" + OrderType + '\'' +
                    ", CarType='" + CarType + '\'' +
                    ", GetOnCarTime='" + GetOnCarTime + '\'' +
                    ", PayMode='" + PayMode + '\'' +
                    ", Amount='" + Amount + '\'' +
                    ", PayStatus='" + PayStatus + '\'' +
                    ", CustomerPay='" + CustomerPay + '\'' +
                    ", UsedTime='" + UsedTime + '\'' +
                    ", DriverName='" + DriverName + '\'' +
                    ", CarNum='" + CarNum + '\'' +
                    ", ContactMobile='" + ContactMobile + '\'' +
                    ", ActualDistance='" + ActualDistance + '\'' +
                    '}';
        }
    }
}
